merge_unmerge.cpp